SKY-CONTROL SIDC-500 Communication Driver

 

SIDC-500 is protocol to connect various controller(SIDC-500 etc) which is manufactured/sold at SKY CONTROL Co., Ltd in Korea, through Ethernet .

 

<Figure 1> is read setting example of SIDC-500 (SiBAS Ethernet) driver.

 

1. Read settings

<Figure 1> Read setting example of SIDC-500 communication driver

Device part of  <Figure 1> input Device type (TCP/IP), IP address of equipment(210.114.129.36), Service port(Fixed to 1400) respectively, according to device setting.

Also, you can enter last IP number of SIDC-500 device and last IP number of system which try to read data by classifying as comma, at Option part.

 

Input example) 4, 36,

 4 : Last IP number of computer.

36 : Last IP number of SIDC-500 device.

 

SIDC-500 driver's read schedule

Read schedule setting parameters are as follows :

1) STATION – STATION number of each controller.

2) COMMAND – Data type to read.

AI, AO, AD : Reading analog value.

BI, BO, BD : Reading digital value.

SR, SB, SW, SF, SD : Reading system data as RAW(SR), BYTE(SB), WORD(SW), FLOAT(SF), DWORD(SD) format.

3) Read Start Address – Address to read by data type to read (0 ~ ).

4) Save Start Address for Communication Server - Position of ScanBuf where read value is saved.

5) Read Size – Data size to read.

 

READ schedule example)

READ,   1,   AI,       0,         0,           40,

READ,   1,   AD,      0,          40,        40,

READ,   1,   BI,       0,          80,        40,

READ,   1,   BD,      0,          120,      40,

READ,   1,   SW,      0,          160,      10,

 

2. Writing settings

You can control analog, digital pointer and output data of system area as format like BYTE, WORD, DWORD and etc by using SIDC-500 protocol.

 

Digital Write

Digital write setting parameters are as follows:

1) PORT : Set PORT number.

2) STATION : STATION number of controller connected with SIDC-500.

3) ADDRESS : Output address of each point or system area.

4) EXTRA1 : Point type to output or data type of system area.

AI, AO, AD, BI, BO, BD : Writing analog/digital value.

SR, SB, SW, SF, SD : Writing system data as RAW(SR), BYTE(SB), WORD(SW), FLOAT(SF), DWORD(SD) format.

5) EXTRA2 : Don't care.

 

Write example 1)

PORT : 0  STATION : 1  ADDRESS : 0000  EXTRA1 : BO 

If you set as above and write digital value, you can control(ON/OFF) first BO value of no.1 STATION controller connected with SIDC-500 system.

 

Write example 2)

PORT : 0  STATION : 2  ADDRESS : 0015  EXTRA1 : BO 

If you set as above and write digital value, you can control(ON/OFF) 16th BO point of no.2 STATION controller connected with SIDC-500 system.

 

Analog Write

Analog write setting parameters are as follows :

1) PORT : Set PORT number.

2) STATION : STATION number of controller connected with SIDC-500.

3) ADDRESS : Output address of each point or system area.

4) EXTRA1 : Point type to output or data type of system area.

AI, AO, AD, BI, BO, BD : Writing analog/digital value.

SR, SB, SW, SF, SD : Writing system data as RAW(SR), BYTE(SB), WORD(SW), FLOAT(SF), DWORD(SD) format.

5) EXTRA2 : Don't care.

 

Write example 1)

PORT : 0  STATION : 1  ADDRESS : 0000  EXTRA1 : AO

If you set as above and write analog value, you can change first AO value of no.1 STATION controller connected with SIDC-500 as set value.

 

Write example 2)

PORT : 0  STATION : 2  ADDRESS : 0015  EXTRA1 : AO 

If you set as above and write analog value, you can change 16th AO point of no.2 STATION controller connected with SIDC-500 system as set value.

 

Write example 3)

PORT : 0  STATION : 1 ADDRESS : 0000  EXTRA1 : SW 

If you set as above and write analog value, you can change first WORD value of system data area of SIDC-500 as set value.

 

Write example 4)

PORT : 0  STATION : 1 ADDRESS : 0000  EXTRA1 : SD 

If you set as above and write analog value, you can change first DWORD value of system data area of SIDC-500 as set value.